#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n, r = 1;
    cin>>n;
    for(int i = 0; i < n; ++i)
        r *= 2;
    cout<<r;
}
